import com.project.bean.StudentBean;
import com.project.dao.IStudentDao;
import com.project.dao.impl.StudentDaoImpl;

public class TextStudent {
    public static void main(String[] args) {
        IStudentDao dao=new StudentDaoImpl();
//        System.out.println(dao.findByItem(1,"","","1"));
//        System.out.println(dao.findById(1));
//        System.out.println(dao.countByClass(1));
//        System.out.println(dao.countByRoom(1));
        System.out.println(dao.findByRoomId(1));
//dao.add(new StudentBean("王弄墨","女","18180920813","1.jpg",1,8));
//        dao.del(21);
//        System.out.println(dao.findById(21));
//        System.out.println(dao.findById(19));
//        dao.update(19,2);
//        System.out.println(dao.findById(19));


    }
}
